package com.lixinxin.commoncomposeproject.util

import android.content.Context

/**
 *   author ： lixinxin
 *   time    ： 2021-12-08
 *   email：895330766@qq.com
 */
object FileUtil {


    fun getJsonStringFromAsset(context: Context, data: String): String {
        return context.assets.open(data).bufferedReader().use {
            it.readText()
        }
    }
}